cmake_minimum_required(VERSION 3.24)
project(example)

include(${CMAKE_CURRENT_SOURCE_DIR}/cmake/commit.cmake)
include(${CMAKE_CURRENT_SOURCE_DIR}/cmake/option.cmake)
set(CMAKE_INSTALL_PREFIX "${CMAKE_SOURCE_DIR}/..")
set(CMAKE_BUILD_RPATH "${CMAKE_SOURCE_DIR}/../lib")
set(CMAKE_INSTALL_RPATH "${CMAKE_SOURCE_DIR}/../lib")

find_library(HAVE_PTHREAD pthread)

add_subdirectory(01-helloworld)
add_subdirectory(02-demoAPP)
add_subdirectory(03-component)
add_subdirectory(04-plugin)
add_subdirectory(05-report)
add_subdirectory(06-service)
add_subdirectory(07-topic)
add_subdirectory(08-io)
add_subdirectory(09-timer)
add_subdirectory(10-signal)
add_subdirectory(11-logger)
add_subdirectory(12-crash)
add_subdirectory(13-communicate)
add_subdirectory(14-driver)
